import Character, Animation
from Animation import *
from Character import *

class DeadKid(Character):

 
##############
# ANIMATIONS #
##############
    NUM_ANIMATIONS = 1
    DEAD = 0

    LEFT = NUM_ANIMATIONS

    ###################
    # ANIMATION TABLE #
    ###################
    ANIMATION_TABLE = [(DEAD,        'Kid_Dead_Left',  1, Animation.NO_KEY_FRAME),
                       (DEAD + LEFT, 'Kid_Dead_Right', 1, Animation.NO_KEY_FRAME),
                       ]

    DEFAULT_ANIMATION = DEAD


    #############
    # MOVEMENTS #
    #############    
    MOVEMENTS = [ (0,0), #DEAD_LEFT
                  (0,0)] #DEAD_RIGHT

########
# MISC #
########
    RECT_SIZE = (50, 30)
      
    def __init__(self, facing):
        Character.__init__(self)
        self.currentAnimation = DeadKid.DEAD
        self.facing = facing


    def update(self):
        self.animations[self.currentAnimation].update()
        self.updateCurrentImage()
